package JavaTest02.java;

import java.util.Scanner;

public class QMCJ {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入成绩");
        int cj=scanner.nextInt();
        if (cj>=80){
            System.out.println("A");
        }
        if (cj>=70){
            System.out.println("B");
        }
        if (cj>=60){
            System.out.println("C");
        }
        if (cj<60){
            System.out.println("D");
        }
    }
}
